
<!-- Menus -->


<!-- Trees -->
<script type="text/javascript">

	// Build the menus trees
	<?php foreach($menus as $menu) :?>
		var <?php echo $menu['name']; ?>Tree = new ION.TreeXhr('<?php echo $menu['name']; ?>Tree', '<?php echo $menu['id_menu']; ?>');
	<?php endforeach ;?>

	// Add links to each menu title
	$$('.treetitle').each(function(el)
	{
		ION.initTreeTitle(el);
	});
	
</script>
